package gatperdut.chato.constants;

import gatperdut.chato.model.Chato.Constant.Gender;

public final class CSConstantsGender {

    public static String getGenderShout( Gender g ) {
        switch ( g ) {
        case FEMALE:
            return "A female voice";
        case MALE:
            return "A male voice";
        case UNKNOWN:
            return "A voice";
        default:
            throw new IllegalArgumentException( "Getting shout voice for an unspecified gender." );
        }
    }

    public static String getGenderPronoun( Gender g ) {
        switch ( g ) {
        case FEMALE:
            return "she";
        case MALE:
            return "he";
        case UNKNOWN:
            return "it";
        default:
            throw new IllegalArgumentException( "Getting pronoun for an unspecified gender." );
        }
    }

    public static String getGenderPossessive( Gender g ) {
        switch ( g ) {
        case FEMALE:
            return "her";
        case MALE:
            return "his";
        case UNKNOWN:
            return "its";
        default:
            throw new IllegalArgumentException( "Getting possessive for an unspecified gender." );
        }
    }

}
